package load_balance

import (
	"go_gateway_demo/lib"
	"log"
)

type LoadBalance interface {
	Add(...string) error
	Get(string) (string, error)

	//后期服务发现补充
	Update()
}

// 将服务注册到etcd上
func RegisterService(ServiceTarget string, value string) {
	Registerlib := lib.GetIntConf("proxy.http.read_timeout")
	log.Println(Registerlib)
}
